Optimal. Leaf size=94 \[ -\frac{13 \left (3 x^2+5 x+2\right )^{3/2}}{15 (2 x+3)^3}+\frac{47 (8 x+7) \sqrt{3 x^2+5 x+2}}{200 (2 x+3)^2}-\frac{47 \tanh ^{-1}\left (\frac{8 x+7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{400 \sqrt{5}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0443192, antiderivative size = 94, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.148, Rules used = {806, 720, 724, 206} \[ -\frac{13 \left (3 x^2+5 x+2\right )^{3/2}}{15 (2 x+3)^3}+\frac{47 (8 x+7) \sqrt{3 x^2+5 x+2}}{200 (2 x+3)^2}-\frac{47 \tanh ^{-1}\left (\frac{8 x+7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{400 \sqrt{5}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 806
Rule 720
Rule 724
Rule 206
Rubi steps
\begin{align*} \int \frac{(5-x) \sqrt{2+5 x+3 x^2}}{(3+2 x)^4} \, dx &=-\frac{13 \left (2+5 x+3 x^2\right )^{3/2}}{15 (3+2 x)^3}+\frac{47}{10} \int \frac{\sqrt{2+5 x+3 x^2}}{(3+2 x)^3} \, dx\\ &=\frac{47 (7+8 x) \sqrt{2+5 x+3 x^2}}{200 (3+2 x)^2}-\frac{13 \left (2+5 x+3 x^2\right )^{3/2}}{15 (3+2 x)^3}-\frac{47}{400} \int \frac{1}{(3+2 x) \sqrt{2+5 x+3 x^2}} \, dx\\ &=\frac{47 (7+8 x) \sqrt{2+5 x+3 x^2}}{200 (3+2 x)^2}-\frac{13 \left (2+5 x+3 x^2\right )^{3/2}}{15 (3+2 x)^3}+\frac{47}{200} \operatorname{Subst}\left (\int \frac{1}{20-x^2} \, dx,x,\frac{-7-8 x}{\sqrt{2+5 x+3 x^2}}\right )\\ &=\frac{47 (7+8 x) \sqrt{2+5 x+3 x^2}}{200 (3+2 x)^2}-\frac{13 \left (2+5 x+3 x^2\right )^{3/2}}{15 (3+2 x)^3}-\frac{47 \tanh ^{-1}\left (\frac{7+8 x}{2 \sqrt{5} \sqrt{2+5 x+3 x^2}}\right )}{400 \sqrt{5}}\\ \end{align*}
Mathematica [A] time = 0.039096, size = 74, normalized size = 0.79 \[ \frac{\sqrt{3 x^2+5 x+2} \left (696 x^2+2758 x+1921\right )}{600 (2 x+3)^3}+\frac{47 \tanh ^{-1}\left (\frac{-8 x-7}{2 \sqrt{5} \sqrt{3 x^2+5 x+2}}\right )}{400 \sqrt{5}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 132, normalized size = 1.4 \begin{align*} -{\frac{47}{200} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{3}{2}}} \left ( x+{\frac{3}{2}} \right ) ^{-2}}-{\frac{47}{125} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{3}{2}}} \left ( x+{\frac{3}{2}} \right ) ^{-1}}-{\frac{47}{2000}\sqrt{12\, \left ( x+3/2 \right ) ^{2}-16\,x-19}}+{\frac{47\,\sqrt{5}}{2000}{\it Artanh} \left ({\frac{2\,\sqrt{5}}{5} \left ( -{\frac{7}{2}}-4\,x \right ){\frac{1}{\sqrt{12\, \left ( x+3/2 \right ) ^{2}-16\,x-19}}}} \right ) }+{\frac{235+282\,x}{250}\sqrt{3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}}}}-{\frac{13}{120} \left ( 3\, \left ( x+3/2 \right ) ^{2}-4\,x-{\frac{19}{4}} \right ) ^{{\frac{3}{2}}} \left ( x+{\frac{3}{2}} \right ) ^{-3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.51084, size = 182, normalized size = 1.94 \begin{align*} \frac{47}{2000} \, \sqrt{5} \log \left (\frac{\sqrt{5} \sqrt{3 \, x^{2} + 5 \, x + 2}}{{\left | 2 \, x + 3 \right |}} + \frac{5}{2 \,{\left | 2 \, x + 3 \right |}} - 2\right ) + \frac{141}{200} \, \sqrt{3 \, x^{2} + 5 \, x + 2} - \frac{13 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}}}{15 \,{\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} - \frac{47 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}}}{50 \,{\left (4 \, x^{2} + 12 \, x + 9\right )}} - \frac{47 \, \sqrt{3 \, x^{2} + 5 \, x + 2}}{50 \,{\left (2 \, x + 3\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.3881, size = 305, normalized size = 3.24 \begin{align*} \frac{141 \, \sqrt{5}{\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )} \log \left (-\frac{4 \, \sqrt{5} \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (8 \, x + 7\right )} - 124 \, x^{2} - 212 \, x - 89}{4 \, x^{2} + 12 \, x + 9}\right ) + 20 \,{\left (696 \, x^{2} + 2758 \, x + 1921\right )} \sqrt{3 \, x^{2} + 5 \, x + 2}}{12000 \,{\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int - \frac{5 \sqrt{3 x^{2} + 5 x + 2}}{16 x^{4} + 96 x^{3} + 216 x^{2} + 216 x + 81}\, dx - \int \frac{x \sqrt{3 x^{2} + 5 x + 2}}{16 x^{4} + 96 x^{3} + 216 x^{2} + 216 x + 81}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.24516, size = 347, normalized size = 3.69 \begin{align*} -\frac{47}{2000} \, \sqrt{5} \log \left (\frac{{\left | -4 \, \sqrt{3} x - 2 \, \sqrt{5} - 6 \, \sqrt{3} + 4 \, \sqrt{3 \, x^{2} + 5 \, x + 2} \right |}}{{\left | -4 \, \sqrt{3} x + 2 \, \sqrt{5} - 6 \, \sqrt{3} + 4 \, \sqrt{3 \, x^{2} + 5 \, x + 2} \right |}}\right ) - \frac{1236 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{5} - 4830 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{4} - 90290 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{3} - 144945 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{2} - 287985 \, \sqrt{3} x - 69339 \, \sqrt{3} + 287985 \, \sqrt{3 \, x^{2} + 5 \, x + 2}}{600 \,{\left (2 \,{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )}^{2} + 6 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )} + 11\right )}^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]